-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLN removing trailing commas #36101
CLN removing trailing commas #36101
Conversation
pandas/tests/io/test_sql.py
Outdated
""" | ||
|
||
""" | ||
"""""" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps this docstring can be removed entirely if it's just empty anyway?
Thanks for looking into this, I remember getting some errors when running the new version of black on all the files |
26958d5
to
da27715
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me pending green
Can you merge master to get the CI green please? |
@MarcoGorelli I was wondering why CI isn't passing, I'll merge it. |
Thanks @sarthakchaudhary13 |
This PR is related to #35925, both current and new versions of black passes these formatting,
also I'd like to mention that there seem to be a reported bug in newer version of black which throws error after removing trailing comma from
pandas/tests/scalar/timestamp/test_constructors.py
that's why I didn't change this formatting.The workaround to this is after removing trailing comma from above code run black with --fast which will add trailing comma back again and and will not format afterwards on re-running black without --fast